package com.wmg.entity;

import java.util.Date;

public class Password {
    private Integer id;

    private String url;

    private String username;

    private String mainpassword;

    private String genepassword;

    private Date createTime;

    private Date updateTime;

    public Password(Integer id, String url, String username, String mainpassword, String genepassword, Date createTime, Date updateTime) {
        this.id = id;
        this.url = url;
        this.username = username;
        this.mainpassword = mainpassword;
        this.genepassword = genepassword;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public Password() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url == null ? null : url.trim();
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getMainpassword() {
        return mainpassword;
    }

    public void setMainpassword(String mainpassword) {
        this.mainpassword = mainpassword == null ? null : mainpassword.trim();
    }

    public String getGenepassword() {
        return genepassword;
    }

    public void setGenepassword(String genepassword) {
        this.genepassword = genepassword == null ? null : genepassword.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}